package com.tb.tbv1productservice.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.tb.v1.api.shoop.ISpReportService;
import com.tb.v1.common.base.BaseServiceImpl;
import com.tb.v1.common.base.IBaseDao;
import com.tb.v1.entity.SpReport;
import com.tb.v1.mapper.SpReportMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @author: tangBin
 * @Date: 2020/7/29 0029 17:51
 * @Description:
 */
@Service
public class SpReportService extends BaseServiceImpl<SpReport> implements ISpReportService {
    @Autowired
    private SpReportMapper spReportMapper;
    @Override
    public IBaseDao<SpReport> getBaseDao() {
        return spReportMapper;
    }
    @Override
    public List<String> getReportArea() {
        return spReportMapper.getReportArea();
    }

    @Override
    public List<String> getReportDate() {
        return spReportMapper.getReportDate();
    }

    @Override
    public List<Integer> getReportSum(String area) {
        return spReportMapper.getReportSum(area);
    }


}
